package com.ruoyi.cat.domain;

import com.ruoyi.common.annotation.QiniuPrivateUrl;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 基础图片设置对象 cat_baseimg_table
 * 
 * @author ruoyi
 * @date 2024-12-24
 */
public class CatBaseimgTable extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** 首页广告图 */
    @Excel(name = "首页广告图")
    @QiniuPrivateUrl(isRichText = false)
    private String adImg;

    /** 首页广告链接 */
    @Excel(name = "首页广告链接")
    private String adIndex;

    /** 合伙人展示图 */
    @Excel(name = "合伙人展示图")
    @QiniuPrivateUrl(isRichText = false)
    private String brandImg;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setAdImg(String adImg) 
    {
        this.adImg = adImg;
    }

    public String getAdImg() 
    {
        return adImg;
    }
    public void setAdIndex(String adIndex) 
    {
        this.adIndex = adIndex;
    }

    public String getAdIndex() 
    {
        return adIndex;
    }
    public void setBrandImg(String brandImg) 
    {
        this.brandImg = brandImg;
    }

    public String getBrandImg() 
    {
        return brandImg;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("adImg", getAdImg())
            .append("adIndex", getAdIndex())
            .append("brandImg", getBrandImg())
            .append("createTime", getCreateTime())
            .toString();
    }
}
